package com.hellogood.yaohuo.server.mgr;

import java.util.List;

import com.hellogood.yaohuo.server.dao.factory.DAOFactory;
import com.hellogood.yaohuo.shared.entity.Tz;

public class TzMgr {
	public List<Tz> searchTz(String pluCode, String startDate, String endDate, int page, int pageSize) {
		return DAOFactory.getInstance().createTzDAO().searchTz(pluCode, startDate, endDate, page, pageSize);
	}

	public int getTotalCount(String pluCode, String startDate, String endDate) {
		return DAOFactory.getInstance().createTzDAO().getTotalCount(pluCode, startDate, endDate);
	}
}
